<script>
	export default {
		globalData: {
			baseUrl: "http://47.96.115.177:9000/",
			rbacToken: '',
			SystemInfoSync:""
		},
		onLaunch: function() {
			// #ifdef APP-PLUS
			switch(uni.getSystemInfoSync().platform){
			    case 'android':
					this.SystemInfoSync = 'android';
			       console.log('运行Android上')
			       break;
			    case 'ios':
					this.SystemInfoSync = 'ios';
			       console.log('运行iOS上')
			       break;
			    default:
			       console.log('运行在开发者工具上')
			       break;
			}
			// #endif
			console.log('App Launch');
		},
		onShow: function() {
			console.log('App Show');
			
		},
		onHide: function() {
			console.log('App Hide');
		}
	};
</script>
<style lang="scss">

@import "./static/sass/globel.scss";

.uni-popup-dialog{
	border: 1px solid #f0f0f0;
	box-shadow: 5px 5px 10px #dddddd;

}
.dialog-popup{
	// left: 90% !important;
	// position: fixed !important;
	.uni-popup__wrapper{
		left: 50vw !important;
		top: 50vh !important;
		transform: translate(-50vw, -50vh) !important;
	}
}

.null-data{
	display: flex;
    flex-flow: column;
    text-align: center;
	image{
		margin: 120rpx auto 20rpx;
		width: 200rpx;
		height: 200rpx;
	}
	text{
		font-size: 32rpx;
	}
}
.noNum-background{
	background-color: #dadcdf !important;
}
.warn{
	background-color: #ffeedc;
	color: #ff7f2d;
	font-size: 32rpx;
	line-height: 38px;
	text-align: center;
	display: flex;
	flex-flow: row;
	align-items: center;
	justify-content: center;
	image{
		width: 32rpx;
		height: 32rpx;
		display: inline-block;
			margin: 0 5px;
	}
}
.empty{
	flex: 1;
	text-align: center;
	padding: 30% 0;
	view{
		font-size: 24rpx;
		color: #999999;
		margin: 20rpx 0;
	}
	image{
		width: 30%;
		height: auto;
	}
}
	/*每个页面公共css */
	.segmented-control__item{
		flex: inherit !important;
		margin: 0 20rpx;
	}
	.formBox {
		.uni-scroll-view {
			overflow: inherit !important;
		}
		
	}
	.pos-rel{
		position: relative;
	}
	.border-mark{
		&::before{
			content: '';
			display: inline-block;
			position: absolute;
			background-color: red;
			right: 0rpx;
			top: 8rpx;
			width: 14rpx;
			height: 14rpx;
			border-radius: 99999rpx;
		}
	}
</style>
